package com.hzdl.car.service;

import com.github.pagehelper.PageInfo;
import com.hzdl.car.bean.Rent;
import com.hzdl.car.bean.RentExcel;
import com.hzdl.car.vo.RentVo;

import java.util.List;
import java.util.Map;

public interface RentService {
    int addRent(RentVo rentVo);
    int delRent(RentVo rentVo);
    int updateRent(RentVo rentVo);
    PageInfo<Rent> findRent(RentVo rentVo);
    Rent findCarNById(RentVo rentVo);
    Map<String,Object> findPriceByYear(Integer year);
    List<String> companyPriceByYear(Integer year);
    RentExcel findRentExcel(String rentId);
}
